package edu.object_oriented.API;

import java.math.BigDecimal;
import java.math.BigInteger;

public class BigDemo {
    public static void main(String[] args) {
        //大数值   BigInteger   BigDecimal
        BigInteger big = new BigInteger("456789");
        BigInteger big2 = new BigInteger("45678910");
        //   +   -   *   /   min  max   abs   ......查阅api  自定调用测试
        BigInteger add = big.add(big2);
        BigInteger subtract = big.subtract(big2);

    }
}
